<html>
<head><meta charset="utf-8"><title>Host compiler does not support &#x27;-fuse-ld=lld&#x27; · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Host.20compiler.20does.20not.20support.20&#x27;-fuse-ld.3Dlld&#x27;.html">Host compiler does not support &#x27;-fuse-ld=lld&#x27;</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="187718410"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Host%20compiler%20does%20not%20support%20%27-fuse-ld%3Dlld%27/near/187718410" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzx <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Host.20compiler.20does.20not.20support.20&#x27;-fuse-ld.3Dlld&#x27;.html#187718410">(Feb 08 2020 at 14:13)</a>:</h4>
<p>I want to build rustc from source and I run x.py build, And I have following error: <br>
/usr/bin/ar: creating t.a<br>
CMake Error at cmake/modules/HandleLLVMOptions.cmake:256 (message):<br>
  Host compiler does not support '-fuse-ld=lld'<br>
Call Stack (most recent call first):<br>
  CMakeLists.txt:643 (include).<br>
How should i correct it?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>